package com.itheima.controller;

import com.itheima.entity.Account;
import com.itheima.service.AccountService;
import com.itheima.service.impl.AccountServiceImpl;

public class AccountController {

    private AccountService accountService;

    public void setAccountService(AccountService accountService) {
        this.accountService = accountService;
    }

    public void save(Account account) {
        accountService.save(account);
    }
}
